﻿using Terraria;
using Terraria.DataStructures;
using WorseGame.Common.Cores.Custom.Interfaces;

namespace WorseGame.Common.Cores.CustomCatchRules.Conditions
{
    public class QuestFishCondition(int questFishID) : ICatchCondition {
        private readonly int _questFishID = questFishID;

        public bool IsConditionMet(FishingAttempt attempt, Projectile bobber) => attempt.questFish == _questFishID;
    }
}